<?php
JunctionFileCabinet::using("Junction_Db_Common_ResultSet");
JunctionFileCabinet::using("Test_Mock_Client");

class Test_Mock_ResultSet implements Junction_Db_Common_ResultSet {
	
	public function getQuery() {
		return "foobar";
	}
	
	public function getIterator() {
		$client = new Test_Mock_Client();
		$client->setDate(time());
		$client->setEmail("foo@bar.com");
		$client->setId(1);
		$client->setPassword("password");
		$results = array();
		$results[] = $client;
		$results[] = $client;
		$results[] = $client;
		return new ArrayIterator($results);
	}
}
?>